<?php

if(user_is_logged_in()) {
	global $user;

	$user_fields = user_load($user->uid);

	if(isset($user_fields->field_user_interests) && !empty($user_fields->field_user_interests)) {
		//print recommended articles depends on user interests
		print _get_block("views", "nodequeue_1-block_2");
	}
	else {
		//print default nodequeue articles
		print _get_block("views", "nodequeue_1-block");
	}

}
else {
	//print default nodequeue articles
	print _get_block("views", "nodequeue_1-block");
}
?>